﻿@using InnovaApp.Layers.ResourcesLayer.Properties
@model InnovaApp.Portals.MVC4Portal.Models.MetaModels.ContentManagement.Structure_Page_MetaModel
<fieldset>
    @Html.HiddenFor(m => m.Id)
    @Html.HiddenFor(m => m.FK_LayoutMenu_Translation)
    @Html.HiddenFor(m => m.DirectURL)
    <ul>
        <li>
            @Html.LabelFor(m => m.Description)
            @Html.TextAreaFor(m => m.Description)
            @Html.ValidationMessageFor(m => m.Description)
        </li>
        <li>
            @Html.LabelFor(m => m.Keywords)
            @Html.TextAreaFor(m => m.Keywords)
            @Html.ValidationMessageFor(m => m.Keywords)
        </li>
        <li>
            @Html.LabelFor(m => m.IndexingCategory)
            @Html.DropDownListFor(m => m.IndexingCategory, Model.IndexingCategories)
            @Html.ValidationMessageFor(m => m.IndexingCategory)
        </li>
        <li>
            @Html.LabelFor(m => m.RevisitAfter)
            @Html.DropDownListFor(m => m.RevisitAfter, Model.RevisitAfterOptions)
            @Html.ValidationMessageFor(m => m.RevisitAfter)
        </li>
        <li>
            @Html.LabelFor(m => m.Robots)
            @Html.DropDownListFor(m => m.Robots, Model.RobotOptions)
            @Html.ValidationMessageFor(m => m.Robots)
        </li>
@*        <li>
            @Html.LabelFor(m => m.ReadyToPublish)
            @Html.EditorFor(m => m.ReadyToPublish, "NullableCheckBox")
            @Html.ValidationMessageFor(m => m.ReadyToPublish)
        </li>
        <li>
            @Html.LabelFor(m => m.IsActive)
            @Html.EditorFor(m => m.IsActive, "NullableCheckBox")
            @Html.ValidationMessageFor(m => m.IsActive)
        </li>
*@        <li>
            @Html.LabelFor(m => m.PublicationDate)
            @Html.TextBoxFor(m => m.PublicationDate, new { @class = "datepicker" })
            @Html.ValidationMessageFor(m => m.PublicationDate)
        </li>
        <li>
            @Html.LabelFor(m => m.LastBuildDate)
            @Html.TextBoxFor(m => m.LastBuildDate, new { @readonly = "readonly" })
            @Html.ValidationMessageFor(m => m.LastBuildDate)
        </li>
        <li>
            @Html.LabelFor(m => m.DateVersion)
            @Html.TextBoxFor(m => m.DateVersion, new { @class = "datepicker" })
            @Html.ValidationMessageFor(m => m.DateVersion)
        </li>
    </ul>
</fieldset>
